package javabasic.threads.cunqian;

public class Save {
    public static void main(String[] args) {
        BankCount bankCount = new BankCount();
        AddTask addTask = new AddTask(bankCount);
        Thread xiaoming = new Thread(addTask, "小明");
        Thread xiaohua = new Thread(addTask, "小华");
        xiaoming.start();
        xiaohua.start();
    }
}
